<?php

Class Plan extends CI_Model
{
  function getAllPlans()
  {
    $this->db->select('*');
    $this->db->from('PlanEC');
    //$this->db->where('marca',$marca);
    //$this->db->where('nuevo',1);
	$query = $this->db->get();
    
    if($query -> num_rows() > 0)
    {
      return $query->result();
    }
    else
    {
      return false;
    }    
  }
}
?>

